package com.zan.pattern.builder.demo1.before;

/**
 * @Author Zan
 * @Create 2024/4/25 16:06
 * @Description : TODO(请用一句话描述该类的功能)
 * @ClassName: Builder
 */
public abstract class Builder {

    // 声明Bike类型的变量，并进行赋值
    protected Bike bike = new Bike();

    public abstract void buildFrame();

    public abstract void buildSeat();

    // 构建自行车的方法
    public abstract Bike createBike();
}
